//
//  stepsTableViewCell.m
//  ForengnMenu
//
//  Created by wenzhaoxu on 16/1/20.
//  Copyright © 2016年 余旺. All rights reserved.
//

#import "stepsTableViewCell.h"

@implementation stepsTableViewCell

- (void)awakeFromNib {

    //轻敲手势
    UITapGestureRecognizer * tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(stepsImageAction)];
    
    //设置手指数量
    tap.numberOfTouchesRequired = 1;
    
    //设置触摸次数
    tap.numberOfTapsRequired = 1;
    
    self.stepsImageView.userInteractionEnabled = YES; 
    
    //添加到ImageView上去
    [self.stepsImageView addGestureRecognizer:tap];
    
    [self.addStepsBnt setTitleColor:[UIColor colorWithRed:248/255.0f green:102/255.0f blue:79/255.0f alpha:1.0f] forState:UIControlStateDisabled];
    [self.addStepsBnt setImage:[UIImage imageNamed:@"Icon_PlusSign.png"] forState:UIControlStateDisabled];


}

-(void)stepsImageAction{
    [self.delegate stepsImageWillAction:self.stepsImageView withCell:self];
}

@end
